//
//  GameManager.h
//  SpeedTap
//
//  Created by Chi Ho Chiu on 19/8/11.
//  Copyright 2011 Individual. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "cocos2d.h"

#import "constant.h"

@interface GameManager : CCNode {
    EGameState gameState;
    int currentLevel;
    EGameScene currentScene;
}

@property (readwrite) EGameState gameState;
@property int currentLevel;
@property (readwrite) EGameScene currentScene;

+(GameManager *) sharedGameManager;

-(void) replaceScene:(EGameScene)kGameScene;
-(void) replaceScene:(EGameScene)kGameScene byTransition:(CCTransitionScene *)action withDuration:(int)time;
-(void) pushScene:(EGameScene)kGameScene;
-(void) popScene;

@end
